package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @author 冰白寒祭
 * @date 2023-09-04 16:08:32
 * @description 用户端购物车相关接口
 */
public interface ShoppingCartService {

    /**
     * @MethodName: addShoppingCart
     * @Author 冰白寒祭
     * @Description: 添加购物车
     * @Date: 2023-09-04 16:09:35
     */
    void addShoppingCart(ShoppingCartDTO shoppingCartDTO);

    /**
     * @MethodName: showShoppingCart
     * @Author 冰白寒祭
     * @Description: 查看购物车
     * @Date: 2023-09-04 19:45:15
     */

    List<ShoppingCart> showShoppingCart();

    /**
     * @MethodName: cleanShoppingCart
     * @Author 冰白寒祭
     * @Description: 清空购物车
     * @Date: 2023-09-04 20:14:50
     */
    void cleanShoppingCart();
}
